from django.conf.urls.defaults import *

from views import feed_index
from models import AnnouncementFeed, AtomAnnouncementFeed, AtomSiteUpdateFeed, SiteUpdateFeed

urlpatterns = patterns('',
    (r'^news/rss/$', AnnouncementFeed(), {}, 'rss-news-feed'),
    (r'^news/atom/$', AtomAnnouncementFeed(), {}, 'atom-news-feed'),
    (r'^updates/rss/$', SiteUpdateFeed(), {}, 'rss-update-feed'),
    (r'^updates/atom/$', AtomSiteUpdateFeed(), {}, 'atom-update-feed'),
    (r'', feed_index, {}, 'feed-index'),
)
